<?php
include '../connect/common_start.php';
if(isset($_REQUEST['mem_id']))
{
	$mem_id=$_REQUEST['mem_id'];
	$mem_name=$_REQUEST['mem_name'];
	$mem_pass=$_REQUEST['mem_pass'];
	$sql="UPDATE `member` SET `mem_name`='$mem_name' WHERE (`mem_id`='$mem_id' AND mem_pswd='$mem_pass' AND status='1' )";
	$result=mysql_query($sql);
	echo mysql_affected_rows();
}
include '../connect/common_end.php';
?>
